﻿//
// ItemClassificationCreatedMessage.cs
//
// Authors:
//    Claus Jørgensen <10229@iha.dk>
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Messaging;

namespace RSD.ViewModel.Messages
{
    using Data;

    /// <summary>
    /// Message for when a item-classification is created.
    /// </summary>
    public class ItemClassificationCreatedMessage : MessageBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:ItemCreatedMessage"/> class.
        /// </summary>
        /// <param name="itemClassification">The item-classification.</param>
        public ItemClassificationCreatedMessage(ItemClassification itemClassification)
        {
            this.ItemClassification = itemClassification;
        }

        /// <summary>
        /// Gets or sets the item-classification.
        /// </summary>
        /// <value>The item-classification.</value>
        public ItemClassification ItemClassification
        {
            get;
            private set;
        }
    }
}
